package com.tsd.jxc.fin.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.fin.entity.JxcFinanceAccount;
import com.tsd.jxc.fin.entity.JxcFinanceAccountExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcFinanceAccountMapper
 *
 * @author Hillpool
 * @date 2022/09/01 16:14:28
 */
public interface JxcFinanceAccountMapper {

    JxcFinanceAccount selectByPrimaryKey(Long id);

    JxcFinanceAccountExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(JxcFinanceAccount record);

    int insertSelective(JxcFinanceAccount record);

    int insertList(@Param("list") List<JxcFinanceAccountExt> list);

    int updateByPrimaryKey(JxcFinanceAccount record);

    int updateByPrimaryKeySelective(JxcFinanceAccount record);

    int updateList(@Param("list") List<JxcFinanceAccountExt> list);

    List<JxcFinanceAccountExt> selectByEntity(JxcFinanceAccountExt record);

    List<JxcFinanceAccountExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcFinanceAccountExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcFinanceAccountExt> selectByParams(@Param("params") Map<String, Object> params);

    List<JxcFinanceAccountExt> selectValidByPartyList(@Param("party_list") List<String> party_list);
}